.TH lis_matrix_malloc 3 "6 Sep 2012" "Man Page" "Lis Library Functions"

.SH NAME

lis_matrix_malloc \- allocate the memory for the matrix

.SH SYNOPSIS

#include "lis.h"

\fBLIS_INT lis_matrix_malloc\fR(\fBMATRIX A\fR, \fBLIS_INT nnz_row\fR, \fBLIS_INT nnz\fR[]);

.SH DESCRIPTION

allocate the memory for matrix \fIA\fR.

.SH INPUT

.IP "\fBA\fR"
The matrix

.IP "\fBnnz_row\fR"
The average number of nonzero elements

.IP "\fBnnz\fR"
The array of the numbers of the nonzero elements in each row

.SH OUTPUT

.IP "\fBNone\fR"

.SH EXIT STATUS

The following exit values are returned:
.IP "0"
The process is normally terminated
.IP "unspecified"
An error occurred

.SH NOTE

Either \fBnnz_row\fR or \fBnnz\fR must be provided. 

.SH SEE ALSO

.BR lis (3)
.PP
http://www.ssisc.org/lis/

